import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
    {
        path: '/about',
        name: 'About',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import('../views/Introduction/About.vue')
    },
    {
        path: '/introduction',
        name: 'introduction',
        component: () => import('../views/IntroductionView')
    },
    {
        path: '/res_download',
        name: 'res_download',
        component: () => import('../views/ResourceView')
    },
    {
        path: '/wetcland',
        name: 'wetcland',
        component: () => import('../views/WetclandView')
    },
    {
        path: '/player_manager',
        name: 'player_manager',
        component: () => import('../views/PlayerManagerView')
    }
]

const router = new VueRouter({
    routes
})

export default router
